#include<stdio.h>
	int main(void)
	{  
	  /*********Begin*********/
	  #define PRICE 30
      int x;
      scanf("%d", &x);
      printf("%d", x * PRICE);
	  /*********End**********/ 
       return 0;
	}
